package com.itheima.service.impl;

import com.itheima.service.UserService;

public class UserServiceImpl implements UserService {

    public UserServiceImpl() {
        System.out.println("无参构造执行...");
    }

    public void save() {
        System.out.println("Spring入门案例...");
    }

    public void init(){
        System.out.println("init方法随着容器的创建而执行....");
    }

    public void destroy(){
        System.out.println("destroy方法在容器摧毁前执行");
    }
}

